<template>
  <view class="my_root">
    <image
      class="bg"
      src="/static/home/bg_home.png"
      model="widthFix"
    ></image>

    <view class="main_box">
      <view class="page_title">
        我的
      </view>
      <view class="card">
        <view class="msg_box">
          <view class="left">账号</view>
          <view class="right">{{ info.account }}</view>
        </view>
        <view class="arrow_right btn">
          修改手机
        </view>
        <view class="arrow_right btn">
          修改密码
        </view>
      </view>

      <view class="btn_logout">
        退出登录
      </view>
    </view>

    <HomeBtn :current="4" />
  </view>
</template>

<script>
import HomeBtn from '../../componet/homeBtn.vue';
export default {
  components: { HomeBtn },
  data() {
    return {
      visible: { show: false },
      info: {
        account: "liuyq"
      },
    };
  },
  methods: {},
  mounted() { },
  created() { },
};
</script>

<style
  lang="scss"
  scoped
>
.my_root {
  background: #F8FAFE;
  height: 100vh;

  .bg {
    position: absolute;
    top: 0rpx;
    left: 0;
    width: 100%;
  }

  .main_box {
    padding-top: 88rpx;
    height: calc(100% - 98rpx);
    padding-bottom: 24rpx;
    overflow: auto;
    box-sizing: border-box;
    z-index: 1;
    position: relative;
  }

  .page_title {
    /*字体样式*/
    font-size: 34rpx;
    font-weight: 500;
    color: #FFFFFF;
    line-height: 88rpx;
    text-align: center;
  }

  .card {
    margin-left: 40rpx;
    margin-right: 40rpx;
    margin-top: 128rpx;
    background: #FFFFFF;
    box-shadow: 0rpx 8rpx 32rpx 1rpx rgba(61, 79, 124, 0.08);
    border-radius: 24rpx 24rpx 24rpx 24rpx;
    padding: 0rpx 40rpx;

    .msg_box {
      display: flex;
      justify-content: space-between;

      .left {
        font-size: 28rpx;
        font-weight: 800;
        color: #0D1F4F;
        line-height: 88rpx;
      }

      .right {
        font-size: 28rpx;
        font-weight: 800;
        line-height: 88rpx;
        color: #9DA7C0;
      }
    }

    .btn {
      font-size: 28rpx;
      font-weight: 800;
      line-height: 88rpx;
      color: #0D1F4F;
    }

  }

  .btn_logout {
    margin: 120rpx 80rpx 0;
    height: 88rpx;
    background: #346BF8;
    border-radius: 24px 24px 24px 24px;

    font-weight: 600;
    font-size: 28rpx;
    color: #FFFFFF;
    line-height: 88rpx;
    text-align: center;
  }
}
</style>